package com.xc.mapper;

import com.xc.dto.UserNavDTO;
import com.xc.entity.UserNavEntity;
import com.xc.entity.UserNavManyEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserNavMapper extends BaseMapper<UserNavDTO, UserNavEntity> {
    int addMany(List<UserNavManyEntity> list);

    int deleteByUserId(List<Integer> list);

    List<UserNavDTO> findByUserId(UserNavEntity userNavEntity);
}
